<?php
namespace Course\Model;
use Think\Model\ViewModel;
class CourseUserViewModel extends ViewModel {
	public $viewFields=array(
	    'CourseUser'=>array('id','user_id','course_id','addtime','state','studied','course_price'),
		'Course'=>array('id'=>'courseid','cs_name','cs_picture','sec_numbers','_on'=>'Course.id=CourseUser.course_id'),
	 
	);
}
?>

